home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / DJDEV111.ZIP / include / swap.h < prev    next >
Text File  |  1992-03-09  |  136b  |  4 lines

  1. /* From Ron Guillmette; apparently needed for Hansen's code */
  2.  
  3. #define swap(a,b) ({ typeof(a) temp = (a); (a) = (b); (b) = temp; })
  4.